From: Adel Gadllah Date: Sat, 23 Mar 2013 09:29:19 +0000 (+0100) Subject: initial-setup: Add battery icon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4413 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9b3b419f7a46ab941cdc1224d3f0e07f088297f8;p=gnome-shell.git initial-setup: Add battery icon There is no reason why there shouldn't be a battery icon in initial-setup, knowing how much battery you have left is useful in during setup as well. This also fixes an exception in the lock screen caused by the combined icon not finding the battery one. https://bugzilla.gnome.org/show_bug.cgi?id=696212 --- diff --git a/js/ui/sessionMode.js b/js/ui/sessionMode.js index 7d6b2e4f6..13318cd99 100644 --- a/js/ui/sessionMode.js +++ b/js/ui/sessionMode.js @@ -84,7 +84,7 @@ const _modes = { panel: { left: [], center: ['dateMenu'], - right: ['a11yGreeter', 'keyboard', 'volume'] + right: ['a11yGreeter', 'keyboard', 'volume', 'battery'] } },